package com.google.code.wicket.auth.component.value.provider.session;

import org.apache.wicket.Session;

/**
 * Provides pseudo-authentication through a custom session object.
 * 
 * @param <S>
 */
public interface SessionLoginProvider<S extends Session> {

    /**
     * Is this a logged-in user?
     * 
     * @param session
     * @return
     */
    boolean isLoggedIn(S session);

}
